/*
 *  AS IS License 
 * ==Naive Coders==
 */
package com.naivecoders.refex;

/**
 *
 * @author andrew
 */
public class IllegalSyntaxException extends Exception {

    private static final long serialVersionUID = 4245170882347039147L;
    private final int line;
    private final int column;

    public IllegalSyntaxException(int line, int column, String message) {
        super(message);
        this.line = line;
        this.column = column;
    }

    @Override
    public String toString() {
        return String.format("[%d:%d]%s", line, column, getMessage());
    }
}
